import AddFriendForm from "./components/AddFriendForm";
import { FriendList } from "./components/FriendList";

const Friends = () => (
  <>
    <h1>My simple Dexie Friends</h1>

    <h2>Add Friend</h2>
    <AddFriendForm defaultAge={21} />

    <h2>Friend List</h2>
    <FriendList minAge={18} maxAge={65} />
  </>
);

export default Friends;
